package com.application.bisabahasakorea;

import android.app.Activity;
import android.content.Intent;
import android.os.Bundle;

public class MySplashScreen extends Activity{
	
	@Override
	public void onCreate(Bundle savedInstanceState){
		super.onCreate(savedInstanceState);
		setContentView(R.layout.splash);
		Thread splashThread = new Thread(){
			@Override
			public void run(){
				
				try{
					sleep(2000);
				} catch(InterruptedException e){
					//do nothing
				} finally {
					
					//startActivity( new Intent("com.application.bisabahasakorea.BisaBahasaKoreaActivity"));
					 Intent i = new Intent(MySplashScreen.this,BisaBahasaKoreaActivity.class);
                     startActivity(i);

					finish();
					
				}
				
			}
		};
		splashThread.start();
	}
	
}
